package com.lzz.dao;

import com.lzz.entity.Role;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

/**
 * @author zhenzhen
 * @date 2018-12-21 上午10:08
 */
@Mapper
@Component(value = "roleDao")
public interface RoleDao {
    int insert(Role role);
    int delete(String uuid);
    int update(Role role);
    Role selectById(String uuid);
    int selectPage(int pageNo, int pageSize);
}
